package com.example.post.mapper;

import com.example.post.model.Message;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MessageMapper {
    void insertMessage(Message message);
    List<Message> getMessagesByUserId(int userId);
    List<Message> getMessages(int userId);
}
